﻿using System;
namespace Trackr.Dispatcher.Interfaces
{
	public interface ISubscribeTo<T> : ISubscription, IDisposable where T : IPublish
	{
		/// <summary>
		/// Will execute an event with type Ts
		/// </summary>
		/// <param name="data"></param>
		void ExecuteEvent(T tData);
	}
}
